hackerrank sock merchant problem

visit shbcf.ru